﻿<div class="layui-card">
    <div class="layui-card-body">
        <form class="layui-form">
            <div class="layui-form-item">
                <div class="layui-form-item layui-inline">
                    <label class="layui-form-label">用户名</label>
                    <div class="layui-input-inline">
                        <input type="text" name="userName" id="userName" placeholder="请输入用户名" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item layui-inline">
                    <label class="layui-form-label">状态</label>
                    <div class="layui-input-inline">
                        @Html.DropDownList("userStatus", ViewBag.UserStatus as IEnumerable<SelectListItem>,new  {lay_filter="userStatus"})
                    </div>
                </div>
                <div class="layui-form-item layui-inline">
                    <a class="pear-btn pear-btn-md pear-btn-primary" id="search">
                        <i class="layui-icon layui-icon-search"></i>
                        查询
                    </a>
                    <button type="reset" class="pear-btn pear-btn-md">
                        <i class="layui-icon layui-icon-refresh"></i>
                        重置
                    </button>
                </div>
            </div>
        </form>
    </div>
</div>
<div class="layui-card">
    <div class="layui-card-body">
        <table id="dataTable" lay-filter="dataTable"></table>
    </div>
</div>
<script type="text/html" id="toolbar">
     <button class="pear-btn pear-btn-primary pear-btn-md" lay-event="add">
         <i class="layui-icon layui-icon-add-1"></i>
         新增
     </button>
     <button class="pear-btn pear-btn-danger pear-btn-md" lay-event="batchRemove">
         <i class="layui-icon layui-icon-delete"></i>
         删除
     </button>
     <button class="pear-btn pear-btn-danger pear-btn-md" lay-event="modify">
         <i class="layui-icon layui-icon-password"></i>
         修改密码
     </button>
     <button class="pear-btn pear-btn-danger pear-btn-md" lay-event="status">
         <i class="iconfont icon-zhuangtai"></i>
         状态设置
     </button>
     <button class="pear-btn pear-btn-primary pear-btn-md" lay-event="import">
         <i class="iconfont icon-daoru"></i>
         导入
     </button>
</script>
<script type="text/html" id="row-bar">
    <button class="pear-btn pear-btn-primary pear-btn-md" lay-event="edit">
        <i class="layui-icon layui-icon-edit"></i>
        编辑
    </button>
</script>
<script type="text/html" id="user-bar">
    <button class="pear-btn pear-btn-primary pear-btn-sm" lay-event="edit"><i class="layui-icon layui-icon-edit"></i></button>
    <button class="pear-btn pear-btn-danger pear-btn-sm" lay-event="remove"><i class="layui-icon layui-icon-delete"></i></button>
</script>